package com.ydd.dateserver;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(scanBasePackages = {"com.ydd.**"},exclude = { DataSourceAutoConfiguration.class })
@EnableDiscoveryClient
@NacosConfigurationProperties(dataId = "${spring.application.name}", autoRefreshed = true)
public class DateServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DateServerApplication.class, args);
    }

}
